home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Show Time 2.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
803b
|
43 lines
[SUBJECT]
Description=Display the current time (2nd variant)
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var ddt2, delay;
;function debuteTemps2() {
; var hhmmss = " ", mymin, sec;
; delay = `delay`;
;
; adate = new Date();
; hhmmss += adate.getHours();
; mymin = adate.getMinutes();
; if (mymin < 10) hhmmss += ":0" + mymin;
; else hhmmss += ":" + mymin;
; hhmmss = " " + hhmmss;
; document.Temps12.heure.value = hhmmss;
;
; ddt2 = setTimeout("debuteTemps2(delay)",delay);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad="debuteTemps2()" onUnload="clearTimeout(ddt2)"
[BODY_TEXT]
;<form name="Temps12">
;<input type="text" name="heure" size="9"><br>
;</form>
[`delay`]
Kind=N
Value=1000